package com.acme.bankapp.domain.bank;

/**
 * Saving account.
 * 
 */
@SuppressWarnings("serial")
public class SavingAccount extends AbstractAccount {

	/**
	 * Creates saving account.
	 * 
	 * @param amount
	 *            initial amount of funds
	 */
	public SavingAccount(double amount) {
		super(amount);
	}

	/**
	 * @inheritDoc
	 */
	@Override
	public String toString() {
		return String.format("Saving account, balance: $%.2f", getBalance());
	}
}
